package com.copa.gamestore.module.order.service;

import com.copa.gamestore.module.cart.vo.CartVo;
import com.copa.gamestore.module.order.domain.Order;
import com.copa.gamestore.module.order.domain.OrderDetail;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author copa
 * @createDate 2022-09-27 17:58
 * @function
 */
public interface OrderDetailService {
    List<OrderDetail> add(CartVo cartVo, Order order);

    void refund(String orderSubSn);

    BigDecimal checkRefund(String orderSubSn, Integer refundStatus);
}
